<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<link rel="stylesheet" href="../js/css/app/reset.css">
		<link rel="stylesheet" href="../js/css/app/footer.css">
		<link rel="stylesheet" href="../js/css/login.css">
		<link rel="stylesheet" href="../js/fonts/sso-fonticon.css">
		<title>html5优分期大学生分期购物商城模板源码</title>
	</head>
	<body  background="../js/images/猫.jpg">
		<div class="usm-wrap u-login main">
			<h1 class="header-icon">
			<a class="ulogo" href="#"></a>
			</h1>
			<form action="#" method="post" name="form" id="loginForm" autocomplete="off">
				<input id="_csrf" data-check='yes' type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}" />
				<input name="j_token" data-check='yes' type="hidden" id="j_token" value="1459331426664" />
				<input type="hidden" id="errorcount" value="" data-value=""/>
				<input type="hidden" id="login_failure_name" value="" />
				<div class="content" id="ejs_container">
					<div class="pic left">
						<a href="#">
							<img alt="欢迎登录优分期" src="../js/images/1.jpg" width="450px" height="270px">
						</a>
					</div>
					<div class="form left">
						<h3>账户登录</h3>
						<div class="form-list dib-wrap ">
							<label  class="dib listdib"><i class="icon-uniE614 icon-login"></i></label>
							<input id="userAccount" name="userAccount" data-exp="void-me" type="text" placeholder="账号" class="dib"/>
						</div>
						<div class="form-list dib-wrap ">
							<label class="dib listdib"><i class="icon-uniE610 icon-login"></i></label>
							<input id="userPassword" name="userPassword" type="password"  placeholder="密码" class="dib"/>
							<!--<input type="hidden" id="j_password" name="password" value="" />
					        <input type="hidden" id="" name="curTime" value="1459331426664" />
					        <input type="hidden" id="targetUrl" name="targetUrl" value="http%3A%2F%2Fwww.ufenqi.com" />
					        <input type="hidden" id="source" name="source" value="PC" />-->
						</div>
						 <p style="color: red"></p>
												<div class="dib-wrap lh-37">
							<input  type="checkbox"  class="dib" id="rememberBtn"/>
							<label for="rememberBtn" class="dib">记住我</label>
							<a href="#" class="right dib" >忘记密码？</a>
						</div>
						<div class="dib-wrap">
							<button type="button" onclick="login()" class="login-btn  btn dib">
							登&nbsp;&nbsp;&nbsp;&nbsp;录
							</button>
						</div>
						<div class="dib-wrap lh-37">
							<span class="font-bd">
							<button onclick="zc()" type="button" class="login-btn  btn dib">注册</button>
							</span>
						</div>
					</div>
				</div>
			</form>
			<div class="clearfix"></div>
			
		</div>
		<div class="login-ft main">
			<div class="clearfix"></div>
			<div class="login-ft-main">
				<p class="login-ft-left">
					<a href="#" target="_blank">关于分期</a>
					<span>|</span>
					<a href="#" target="_blank">联系我们</a>
					<span>|</span>
					<a href="#" target="_blank">人才招聘</a>
					<span>|</span>
					<a href="#" target="_blank">隐私保护</a>
					<span>|</span>
					<a href="#" target="_blank">帮助中心</a>
					<span>|</span>
					<a href="#" target="_blank">手机优分期</a>
				</p>
				<ul class="login-ft-right">
					<li class="left">
						<i class="icon-uniE609"></i>大学生专享
					</li>
					<li class="left">
						<i class="icon-uniE608"></i>100%正品
					</li>
					<li class="left">
						<i class="icon-uniE61A"></i>无需信用卡
					</li>
				</ul>
			</div>
			<div class="ft-copyright">
				<ul class="ft-safety">
					<li id="kx_verify" class="safety-1"><a href="#" target="_blank"></a></li>
					<li class="safety-2">
						<a href="#" target="_blank"></a>
					</li>
					<li class="safety-3">
						<a href="#" target="_blank"></a>
					</li>
					<li class="safety-4">
						<a href="#" target="_blank"></a>
					</li>
				</ul>
				<div class="footer-info" >
					<p>↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑|<a href="#" target="_blank">京ICP证备14020586号</a>|<a href="../js/images/san.jpg" target="_blank">5组营业执照号：110108016963882</a>|<a href="javascript:void(0);" target="_blank">食品流通许可证号：</a> </p>
					<p>💗💗💗💗💗💗💗💗💗💗💗💗💗💗💗💗💗💗</p>
					<p>5组创业公司地址：西安</p>
					<p>Copyright 2014-2015,版权所有:阿里巴巴</p>
				</div>
			</div>
		</div>
		<script type="text/javascript" src="../js/jquery-1.11.1.min.js"></script>
	</body>
<script>
	function zc() {
		location.href="../page/zhuce";
	}

	function login() {
		alert("11222222")
		$.ajax({
			url:'../wjs/login',
			type:'post',
			data:$("#loginForm").serialize(),
			datatype:'json',
			success:function(data){
				if (data.code!=0) {
					bootbox.alert({
						title:'提示',
						message:data.msg,
						size:'small'
					});
				} else {
					location.href="../page/tojiaoyia";
				}
			}
		})
	}




</script>
</html>